package com.qlogic.commons.platform.impls.dal;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

public class Property {

	/**
	 * 
	 */
	private Field field;

	/**
	 *
	 */
	private Method setMethod;

	/**
	 *
	 */
	private Method getMethod;

	/**
	 * 
	 */
	public Property() {
	}

	/**
	 * @param setMethod
	 * @param getMethod
	 */
	public Property(Method setMethod, Method getMethod) {
		this.setMethod = setMethod;
		this.getMethod = getMethod;
	}

	/**
	 * @param field
	 */
	public void setField(Field field) {
		this.field = field;
	}

	/**
	 * @return
	 */
	public Field getField() {
		return field;
	}

	/**
	 * @param setMethod
	 */
	public void setSetMethod(Method setMethod) {
		this.setMethod = setMethod;
	}

	/**
	 * @return
	 */
	public Method getSetMethod() {
		return setMethod;
	}

	/**
	 * @param getMethod
	 */
	public void setGetMethod(Method getMethod) {
		this.getMethod = getMethod;
	}

	/**
	 * @return
	 */
	public Method getGetMethod() {
		return getMethod;
	}

}